izzum php library - statemachine, rules, commands