Rule

A rule is a law or ordinance.

Mathematics
A rule is a prescribed method for performing an operation.