'@return: returns a list of tuple (id, sequence) which are all the children of the passed rule_ids'

@api.multi
def _recursive_search_of_rules(self):

    children_rules = []
    for rule in self.filtered((lambda rule: rule.child_ids)):
        children_rules += rule.child_ids._recursive_search_of_rules()
    return ([(rule.id, rule.sequence) for rule in self] + children_rules)
