Using OR rules in a custom filter