fn collect_custom_contexts( context: &PermissionRuleContext, contexts: &mut BTreeMap<String, BTreeSet<String>>, )