Hi @chrisj2,
Can you try passing a querystring param to rules and update the metadata there?
Here are some examples and considerations:
Hope this helps!
Thanks, Dan