added all rules in the last page