Implementation for add/remove filter rules via cli

Also issues from PR 1974
Merge pull request #1974 from parthaa/filter-rule-cli

Implementation for add/remove filter rules via cli