pub(super) fn write_context( formatter: &mut Formatter<'_>, context: &PermissionRuleContext, ) -> Result