class DefaultRequestLimitRulesSupplier implements RequestLimitRulesSupplier<Set<RequestLimitRule>> {

    @Override
    public Set<RequestLimitRule> getRules(String key) {
        Set<RequestLimitRule> ruleSet = ruleMap.get(key);
        if (ruleSet != null) {
            return ruleSet;
        }
        return defaultRules;
    }

    public  DefaultRequestLimitRulesSupplier(Set<RequestLimitRule> rules);

}