def METHOD_NAME(self):
    rules = Rules(RuleAppend0)
    matches = Matches([Match(1, 2)])
    rules.execute_all_rules(matches, {})
    assert len(matches) == 2
    rules = Rules(RuleAppend1)
    matches = Matches([Match(1, 2)])
    rules.execute_all_rules(matches, {})
    assert len(matches) == 2
    rules = Rules(RuleAppend2)
    matches = Matches([Match(1, 2)])
    rules.execute_all_rules(matches, {})
    assert len(matches) == 2
    assert len(matches.named('renamed')) == 1
    rules = Rules(RuleAppend3)
    matches = Matches([Match(1, 2)])
    rules.execute_all_rules(matches, {})
    assert len(matches) == 2
    assert len(matches.named('renamed')) == 1