public List<RuleDTO> listAllRules() {
        RuleQueryCondition condition = RuleQueryCondition.builder()
                .switchStatus(true)
                .build();
        return list("/rule/list/search", condition, SEARCHED_RULES_TYPE_REFERENCE, v -> v);
    }
List all existence rules.

@return a list of {@link RuleDTO}s
shenyu-e2e/shenyu-e2e-client/src/main/java/org/apache/shenyu/e2e/client/admin/AdminClient.java