Simplifying grammars.
Fixed spacing, algorithm for proper grammar missing