Fixes and new functionality

Fix nested timers
Allow flows to be redirected mid-stream
Fix add_rule