规矩 can be a noun meaning 'rules/customs' or an adjective meaning 'well-behaved/proper'. As a noun it often appears with 守 (follow) or 懂 (understand).
history
Originally 规 meant 'compass' and 矩 meant 'ruler/square' — the tools used to draw perfect circles and right angles. The meaning extended to 'standards of conduct'.