Delete a rule with ajax