Implemented two filters implementing Union Set filtering (or relation) and Intersection Set (and relation) filtering.