Correction to grammar rules