make rule callable