Copied all the grammar productions from reference.md to grammar.md