RPIIEMES AND RULES IN A GRAMMAR