implement disabling the grammar rule (fix issue#6)