refname_match(): always use the rules in ref_rev_parse_rules