def _flag_default_rules(rules):
 if (len(rules) >= len(DEFAULT_POLICY_RULES)):
  rules_suffix = tuple(rules[(- len(DEFAULT_POLICY_RULES)):])
  if (rules_suffix == DEFAULT_POLICY_RULES):
   for rule in rules_suffix:
    rule._is_default_suffix = True

def _flag_default_rules ( rules ) : if ( len ( rules ) >= len ( DEFAULT_POLICY_RULES ) ) : rules_suffix = tuple ( rules [ ( - len ( DEFAULT_POLICY_RULES ) ) : ] ) if ( rules_suffix == DEFAULT_POLICY_RULES ) : for rule in rules_suffix : rule . _is_default_suffix = True
determine if part of our policy ends with the defaultly appended suffix .