developing antlr3 grammar for jape-like rules