reduce rule hierachy