Makeflow Wrapper

First pass at #579, trying it out by modifying the task as it is passed to the batch job.
Still needs a syntax for putting the rule # into the the wrapper output given on the comamnd line 
Any suggestions?

output.$$
output.@
output.$RULE
output.{}