Optionalrules: What the filter allows: omit it for a copy of hs.windowfilter.defaultFilter (including any changes you've made to it); an application's name or bundle ID, or an array of them, for those applications' visible windows; a function, called with each window, that returns true to allow it; or an object of rules:
The new filter
Creates a window filter