In application of law

Rule is the exercise of control by a person with power.

In definition of law

The guidelines by which control is established are called rules.