[filter-manager] allow pass runtime config, rework applyFilter method