Python Rule Engine With Astigmatism