Rules Engine For Python Project For Data