Cleaning up grammar file.