Fixed rule movement

Flow::Rules can now be returned from functions by moving them out of it,
and will retain all of their states and transitions