fix filter rules format