[components/polarityFilter] add a polarity filter