'Transforms rules list from env-string to python.'

def _rules_from_env(self, val):

    val = val.split(':')
    if ('DEFAULT_RULES' in val):
        val = (const.DEFAULT_RULES + [rule for rule in val if (rule != 'DEFAULT_RULES')])
    return val
