@Override
    public void onUpdated(final RuleDO rule, final RuleDO before) {
        publish(new RuleUpdatedEvent(rule, before, SessionUtil.visitorName()));
    }
on rule updated.

@param rule   rule
@param before before rule
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/RuleEventPublisher.java