@Override
    public void notify(ConfigChangeEvent value) {
        lock.lock();
        try {
            if (value.getEventType().equals(EventType.DELETE)) {
                settingsString = null;
                notify(new Rules());
            } else {
                settingsString = value.getNewValue();
                RulesReader rulesReader = new RulesReader(new StringReader(value.getNewValue()), moduleManager);
                Rules rules = rulesReader.readRules();
                notify(rules);
            }
            notifiedByDynamicConfig.set(true);
        } finally {
            lock.unlock();
        }
    }
Alarm rules' settings can be dynamically updated via configuration center(s), this class is responsible for
monitoring the configuration and parsing them into {@link Rules} and {@link #runningContext}.

@since 6.5.0
oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/AlarmRulesWatcher.java