class TaggingRepositoryImpl implements TaggingRepository, Constants {

    public List<Map<String, Object>> getRuleParamsFromDbByPolicyId(
            String policyId) throws DataException {
        String ruleIdQuery = "SELECT rule.ruleParams FROM cf_RuleInstance rule LEFT JOIN cf_Policy policy ON rule.policyId = policy.policyId WHERE rule.status = 'ENABLED' AND policy.policyId ='"
                + policyId + "' GROUP BY rule.policyId";
        return rdsepository.getDataFromPacman(ruleIdQuery);
    }

}