A "rule" in mathematics is a formula which allows a person to work out parts of the solution if he or she has certain information. For example, Pythagoras' theorem is a rule which states that if a person knows the lengths of two sides of a right-angled triangle he or she can work out the length of the third.