[SPNL] refactored filtering code for feeders