Added getter for rules.
Added filter_rule to CARTA.