<rule id="task">
<item>can you</item>
<one-of>
<item>on<tag> state = HIGH </tag></item>
<item>off<tag> state = LOW </tag></item>
</one-of>
<item>please</item>
</rule>
never get matched, but
<rule id="task">
<item>can you</item>
<one-of>
<item>on<tag> state = HIGH </tag></item>
<item>off<tag> state = LOW </tag></item>
</one-of>
</rule>
can be matched
complete Grammar never matched
Actually, the previous code works BUT the real bug is if the <one-of> is on a ruleref. Then, all elements following the ruleref will never been matched