debugging hierarchical rules