flowstate I am playing around with creating a state machine/rules engine for complex business logic. All advice welcome.