export interface RuleContext { isAuthorized: boolean; userId?: string; roles?: string[]; }