'Return a dictionary of all in-code policies.
All policies have a default value that is maintained in code.
This method returns a dictionary containing all default policies.'

def _get_default_policy_rules(self):

    rules = dict()
    for rule in policies.list_rules():
        rules[rule.name] = rule.check_str
    return rules
