def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        target_types=[RustPackageTarget],
        rules=[
            *rustfmt_rules(),
            *toolchains.rules(),
            *source_files.rules(),
            *system_binaries.rules(),
            QueryRule(FmtResult, (RustfmtRequest.Batch,)),
            QueryRule(SourceFiles, (SourceFilesRequest,)),
        ],
    )
    METHOD_NAME.set_options([], env_inherit={"PATH"})
    return METHOD_NAME