You should look into writing a TreeParser; it can make the job of interpreting the tree much simpler.
For ANTLR 2.x see http://www.antlr2.org/doc/sor.html
For ANTLR 3.x see http://www.antlr.org/wiki/display/ANTLR3/Tree+construction (java-based parser and tree parser example)