Rules Engine For Python Command Line