add tuples to all the rules