Rules data selection tokens
You might want to use token_replace.

You can use it like this:

$token = token_replace('[order:products:0:node:author:uid]', array('order' =&gt; $order));


So $order is your order.