define priority on rule to make them comparable.