Grammar simplification

* Avoid using combined grammars (use separate `lexer grammar` and `parser grammar` instead)
* Avoid using the `import` clause
* Simplify Boolean expressions for the Java output