Parsed rule with display-friendly information.
ruleText: string
Original rule text
success: boolean
Whether parsing was successful
optional
error: string
Error message if parsing failed
optional
category: string
Rule category (Network, Cosmetic, Comment, etc.)
optional
type: string
Rule type (NetworkRule, HostRule, etc.)
optional
syntax: string
Detected syntax (Common, AdGuard, uBlock, etc.)
optional
valid: boolean
Whether the rule is valid
optional
properties: RuleProperties
Type-specific properties
optional
ast: AnyRule
Full AST as JSON