RuleImpl r = ((RuleImpl) rule);
assertEquals( 2, r.getLhs().getChildren().size() );
Iterator<RuleConditionElement> iter = r.getLhs().getChildren().iterator();
RuleConditionElement arg1 = iter.next();
assertTrue( arg1 instanceof GroupElement && ((GroupElement) arg1).getType() == GroupElement.Type.OR );
assertEquals( 2, ((GroupElement) arg1).getChildren().size() );
RuleConditionElement arg2 = iter.next();
assertTrue( arg2 instanceof Pattern);
}