rules are things you should obey and the law is something you must obey. the law is set by the government and it is illegal to break it. not so much for rules, which are still important, but are usually set by people for health, safety, etc. it is not illegal, as such, to break the rules, although it is still important to abide by them and the law. that is my description of the difference between the two.