You can remember the meaning of 法律 with this easy mnemonic:
A lute player demands that the law (法) protects his civil freedom to do what he likes in his house. Whereas his neighbor is claiming compensations for nuisance under civil law (律).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.