rewriting rules for creating AST. Also I added a new syntax for
referencing the language attribute.