Add filter as a primitive