Beautification of the grammar to improve its readability