Description
The <rule> tag encloses a named rule in a grammar. The rule is assigned the name given in its id attribute.
A <ruleref> tag can be used to reference the rule name in the <ruleref>'s src attribute, this causes the rule to be inserted at that point in the grammar.
The <rule> tag defines a rule but does not insert it (like defining a subroutine), the <ruleref> tag inserts the rule (like calling a subroutine).