private void addCondition(final RuleDO ruleDO, final List<RuleConditionDTO> ruleConditions) {
        for (RuleConditionDTO ruleCondition : ruleConditions) {
            ruleCondition.setRuleId(ruleDO.getId());
            ruleConditionMapper.insertSelective(RuleConditionDO.buildRuleConditionDO(ruleCondition));
        }
    }
listen {@link BatchSelectorDeletedEvent} delete rule.

@param event event
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java