[common] added set operations to perform elements filtering