def METHOD_NAME():
    input_string = "xxx.1x02.xxx"
    re1 = RePattern("([0-9]+)x([0-9]+)", name='prefer', children=True, formatter=int)
    re2 = RePattern("x([0-9]+)", name='skip', children=True)
    matches = Matches(re1.matches(input_string))
    matches.extend(re2.matches(input_string))
    execute_rule(ConflictSolver(), matches, None)
    assert len(matches) == 2
    assert matches[0].value == 1
    assert matches[1].value == 2