Fix the #IN/OUT/WORKPATH# task variables
The #INPATH#, #OUTPATH# & #WORKPATH# task variables are not valued properly. They only take into account the default in/out/work paths defined at the gateway-level (in the config file). Therefore, the server and rule-level paths are completely ignored.
The variables should thus be fixed to take the server and rule into account when computing the value of these special variables.