pub fn compile_rules(
configs: &[RateRuleConfig],
profiles: &HashMap<String, CompiledProfile>,
) -> Result<Vec<CompiledRule>, String>Expand description
Compile rules, validating that any pinned profile names an existing tier.
Each rule’s phase is derived from its key: a jwt_claim key needs validated
claims and runs after auth; every other key runs before auth.