规矩- refer to custom of a certain group like family,school, religion, or even some underworld rules. Can be right, but mostly not, or just be constraints for daily behaviors.
规律- the periodic facts in nature or human society, like the it's going cold in winter or bears have hibernation.
规则- codes for games or works.usually authorized by professionals