def METHOD_NAME(repo):
    """
    Given: A modeling rule with valid component file names
    When: running is_valid_rule_names
    Then: Validate that the modeling rule is valid
    """
    pack = repo.create_pack("TestPack")
    dummy_modeling_rule = pack.create_modeling_rule("MyRule")
    structure_validator = StructureValidator(dummy_modeling_rule.yml.path)
    with ChangeCWD(repo.path):
        modeling_rule_validator = ModelingRuleValidator(structure_validator)
        assert modeling_rule_validator.is_valid_rule_names()