Rules Engine In Python Codepad