The operator get_rules function already gets all rules data. This is getting rules that are meeting some kind of conditions (between this and that is in the SQL query). What is this getting then? Is it only categories? Or is it only the next rule after the current rule?