The rule of molarity states that the molarity of a solution is equal to the number of moles of solute divided by the volume of the solution in liters. Mathematically, it can be expressed as:
Molarity (M) = moles of solute / volume of solution (in liters)
This rule is commonly used in chemistry to calculate the concentration of a solution.