@Override
    public List<Rule> selectRuleByUserGroupId(String userGroupId) {
        List<Rule> ruleList = new ArrayList<>();

        for (Entry<String, Rule> entry : alarmRule.entrySet()) {
            if (entry.getValue().getUserGroupId().equals(userGroupId)) {
                ruleList.add(entry.getValue());
            }
        }
        
        return ruleList;
    }
@author minwoo.jung
@author Jongjin.Bae
web/src/test/java/com/navercorp/pinpoint/web/dao/memory/MemoryAlarmDao.java