data structure for ruleminer