- move iprule and ipaddress from matches() to index_in_str_array