Added hierarchyRules.
Added excludeHigherPriorityNodes().