Rule Engine In Python Code Examples