Adding support for deleting rules.