Added id_list and id_rules