def METHOD_NAME(update_environment):
    """
    Execute a rulebook that has disabled rules and
    ensure they do not execute
    """
    rulebook = utils.BASE_DATA_PATH / "rulebooks/test_disabled_rules.yml"
    env = update_environment(
        {
            "DEFAULT_STARTUP_DELAY": str(DEFAULT_STARTUP_DELAY),
            "DISABLED_RULES_EVENT_DELAY": str(DISABLED_RULES_EVENT_DELAY),
        }
    )
    cmd = utils.Command(
        rulebook=rulebook,
        envvars="DEFAULT_STARTUP_DELAY,DISABLED_RULES_EVENT_DELAY",
    )
    LOGGER.info(f"Running command: {cmd}")
    result = subprocess.run(
        cmd,
        timeout=DEFAULT_CMD_TIMEOUT,
        capture_output=True,
        cwd=utils.BASE_DATA_PATH,
        text=True,
        env=env,
    )
    with check:
        assert (
            "Enabled rule fired correctly" in result.stdout
        ), "Enabled rule failed to fire"
    with check:
        assert (
            "Disabled rule should not have fired" not in result.stdout
        ), "A disabled rule fired unexpectedly"