public static boolean loadRules(List<DegradeRule> rules) {
        try {
            return currentProperty.updateValue(rules);
        } catch (Throwable e) {
            RecordLog.error("[DefaultCircuitBreakerRuleManager] Unexpected error when loading default rules", e);
            return false;
        }

    }
@Test
    public void testLoadRules() {
        DegradeRule rule = mock(DegradeRule.class);
        List<DegradeRule> ruleList = new ArrayList<DegradeRule>();
        ruleList.add(rule);
        assertTrue(DefaultCircuitBreakerRuleManager.loadRules(ruleList));
        assertFalse(DefaultCircuitBreakerRuleManager.loadRules(ruleList));
    }