def METHOD_NAME(self, val):
    """Transforms rules list from env-string to python."""
    val = val.split(':')
    if 'DEFAULT_RULES' in val:
        val = const.DEFAULT_RULES + [rule for rule in val if rule != 'DEFAULT_RULES']
    return val