I wonder why it is not possible to chain attributes. E.g., $rule.start.type doesn't work. Since $rule.start.getType() does it's not a big deal but the former would be more elegant. -- O.L.