Greetings, LucD, vikrambasu-
Looks like you guys have already sorted it out, but as I came across this thread today, I thought that I might add a tidbit here that may help in future traffic filtering/marking rule management -- cmdlets for those rulesets, rules, rule actions, rule qualifiers, etc.: <vNuggletsPlug> I recently made a PowerShell module for this kind of activity, as we have similar needs.
The module is named "vNugglets.VDNetworking", and you can find it via PowerShell like:
Find-ModulevNugglets.VDNetworking
You can save it and/or install it, too (Save-Module or Install-Module, of course). The GitHub repo (https://github.com/vNugglets/vNuggletsPSMod_vDNetworking) has the ReadMe and examples and whatnot. Please enjoy it if you have these needs in the future, and if you see ways to make it better, we'll be watching for pull your requests. </vNuggletsPlug>
Cheers