listContextRules

suspend fun listContextRules(maxScanId: UInt = kit.config.maxContextRuleScanId): List<ParsedContextRule>

Lists all active context rules as parsed objects.

Fetches all raw ScVal rules via getAllContextRules and parses each one. This is the primary method for rule discovery.

Return

List of parsed context rules

Parameters

maxScanId

Upper bound on rule IDs to scan

Throws

if a rule ScVal cannot be parsed

if simulation fails