A rule was a binding principle which governed one's conduct in regards to a specific situation.
In 1968, Roberta Lincoln would not allow Captain James T. Kirk and Spock to find Gary Seven in a government office because it was against the rules. (TOS: "Assignment: Earth")