Return list of [$ruleId, $dotPosition, $origin, $lhs, [@rhs]] that matched