updating rule mappings