Grammar rules update