This list presents all of the rule elements available to a rule set but every element is not necessarily used by the set of rules. These elements contain the pre-defined ANTLR elements and the user-defined elements, with the latter being generated automatically from the names of the rules to be tested. In this example, the length element, the weight element and the SKU element, to name a few, are all user defined with their corresponding rules in the rule set to be tested.
You may notice that a lower-case element has often an equivalent upper-case element listed in this area. This is mainly because that the ANTLR's parser requires the lower case and the ANTLR's lexer requires the upper case. For further information about ANTLR's lexer and parser rules, go to: https://theantlrguy.atlassian.net/wiki/display/ANTLR3/Quick+Starter+on+Parser+Grammars+-+No+Past+Experience+Required .
However, as the upper-case Format rule requires exact match and the lower-case Format rule does not, so when you name a Format rule using upper-case letters, the equivalent lower-case element is generated while the reverse is not true.
For further information about how to use the ANTLR elements pre-defined within Talend Studio, see the tStandardizeRow component in the Talend Components Reference Guide. For further information, check the ANTLR's web site.
Each of the element is treated as a unit you can test. The rule element at the beginning of the list represents the whole parser rule set, so to test all of the rules contained in a set, you need to use this element.
The top Rule field is a filter tool where you can type in the name of the element you need to test.