from typing import TypeVar R = TypeVar("Rule") def get_rule(env, config: R) -> R: """ Returns the rule as-is. """ return config