I just posted asking about a rule tester. I have since found the following info. Any elaboration on it that would permit me to make use of them or the method would be appreciated.
Run tests on your grammar rules. There are three ways:
In Eclipse, by using Junit tests targets On the command-line (without Eclipse): simply run testrules.bat (in Windows) or testrules.sh Using ant (see build.xml for junit test targets).
For beginners, we recommend testrules.sh/bat method. It tests rules against examples and checks if they're valid XML. During development of rules, you'll find how many times there are stupid mistakes you wouldn't see without tests. So please, test them and test them again. If you want to run the tests only for your language, simply give a two-letter code of your language as the command-line parameter, and tests for other languages will be skipped:
$ testrules.sh ru
The above command runs only tests for Russian.