def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        rules=[
            *config_files.rules(),
            *classpath.rules(),
            *coursier_fetch_rules(),
            *coursier_setup_rules(),
            *jdk_rules.rules(),
            *strip_jar.rules(),
            *kotlinc_rules(),
            *kotlinc_plugins.rules(),
            *util_rules(),
            *target_types_rules(),
            *ktlint_fmt_rules.rules(),
            *skip_field.rules(),
            *system_binaries.rules(),
            *source_files.rules(),
            QueryRule(FmtResult, (KtlintRequest.Batch,)),
            QueryRule(SourceFiles, (SourceFilesRequest,)),
        ],
        target_types=[KotlinSourceTarget, KotlinSourcesGeneratorTarget],
    )
    METHOD_NAME.set_options(
        [],
        env_inherit=PYTHON_BOOTSTRAP_ENV,
    )
    return METHOD_NAME