refactor heartbeat alert, make a change of RuleConfigManager in alert module