hierarchical rules working
minor changes