fix redirect to rule tab after deleting a rule