def METHOD_NAME() -> RuleRunner:
    METHOD_NAME = RuleRunner(
        rules=[
            *parse_python_dependencies.rules(),
            *stripped_source_files.rules(),
            *pex.rules(),
            *dependency_inference.rules(),
            *detect_apps.rules(),
            *core_rules(),
            QueryRule(InferredDependencies, [dependency_inference.InferDjangoDependencies]),
        ],
        target_types=[PythonSourceTarget],
    )
    METHOD_NAME.set_options([], env_inherit={"PATH", "PYENV_ROOT", "HOME"})
    return METHOD_NAME