Static And Dynamic Variables In Python Rules