deleteRule & getRules