'@return: returns a list of tuple (id, sequence) of rules that are maybe to apply'

@api.multi
def get_all_rules(self):

    all_rules = []
    for struct in self:
        all_rules += struct.rule_ids._recursive_search_of_rules()
    return all_rules
