Grammar revision