You can remember the meaning of 规矩 with this easy mnemonic:
The only rule (规) you have to remember as a boy scout is that you always have to bring a compass and set square with you. That's an important rule (矩).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.