General:
* Regulation
* Law
* Principle
* Guideline
* Standard
* Precept
* Decree
* Ordinance
Specific:
* For government: Statute, act, legislation, edict
* For sports: Regulation, code, bylaw
* For grammar: Grammar rule, syntax, convention
* For behavior: Etiquette, custom, protocol, decorum
Informal:
* Command
* Order
* Directive
* Instruction
* Policy
The best synonym to use will depend on the specific situation and the tone you want to convey.