Removes surplus from grammar file. Bonus!