moved the all rule in the the rule generator