What is the formula for the maximum amount of steel to put in a wall.

Generally I have just followed specifications- putting in matresses, but I assume there is a rule if using HT rebar.