working on filter rules in setting