([Region] in ("dummylistboxval"))
AND
[#2] in ([Primary Type],[Secondary Type])
AND
(IIF([#3],isempty([Legendary?]) ||[Legendary?]="Legendary",[Legendary?]!="Legendary"))
AND
(IIF([#4],isempty([Regional?]) ||[Regional?]="Regional",[Regional?]!="Regional"))