
export interface Rule {
    id: number
    rule_mode: "active" | "block"
    pattern_type: "date_range" | "weekly" | "monthly" | "yearly"
    start_date?: string
    end_date?: string
    day_of_week?: number
    day_of_month?: number
    month_of_year?: number
    valid_from?: string
    valid_until?: string
    message?: string
}
