{ "_metadata": { "source": "Policy logic extracted from: test_policy.md", "generator": "Policy Logic Extractor", "format": "json-rules-engine" }, "rules": [ { "name": "Monthly Income Threshold Requirement", "priority": 20, "conditions": { "all": [ { "fact": "monthlyIncome", "operator": "greaterThan", "value": { "fact": "monthlyRentTripled" } } ] }, "event": { "type": "meets-income-threshold-requirement", "params": { "ruleId": "rule-001", "ruleName": "Monthly Income Threshold Requirement", "consequence": "meets_income_threshold_requirement", "confidence": 0.97, "sourceDocument": "test_policy.md", "sourceChunks": [ "Section 3", "chunk-2ec2b384e46c", "Section 2: Income Requirements", "chunk-fdb48a0a1101" ], "note": "Condition: monthlyIncome > monthlyRent * 3. Evaluate monthlyRentTripled as a computed fact equal to monthlyRent * 3." } } }, { "name": "Proof of Income Documentation Requirement", "priority": 20, "conditions": { "all": [ { "fact": "proofOfIncomeMonthsProvided", "operator": "greaterThanInclusive", "value": 3 } ] }, "event": { "type": "meets-income-documentation-requirement", "params": { "ruleId": "rule-002", "ruleName": "Proof of Income Documentation Requirement", "consequence": "meets_income_documentation_requirement", "confidence": 0.94, "sourceDocument": "test_policy.md", "sourceChunks": [ "chunk-2ec2b384e46c", "Section 2: Income Requirements" ] } } }, { "name": "Full Financial Eligibility Requirements", "priority": 30, "conditions": { "all": [ { "fact": "monthlyIncome", "operator": "greaterThan", "value": { "fact": "monthlyRentTripled" } }, { "fact": "proofOfIncomeMonthsProvided", "operator": "greaterThanInclusive", "value": 3 } ] }, "event": { "type": "meets-financial-eligibility-criteria", "params": { "ruleId": "rule-003", "ruleName": "Full Financial Eligibility Requirements", "consequence": "meets_financial_eligibility_criteria", "confidence": 0.92, "sourceDocument": "test_policy.md", "sourceChunks": [ "chunk-2ec2b384e46c", "Section 2: Income Requirements" ], "dependsOn": [ "rule-001", "rule-002" ], "note": "Condition: monthlyIncome > monthlyRent * 3. Evaluate monthlyRentTripled as a computed fact equal to monthlyRent * 3." } } } ] }