Hi,
Yes, the way you described would be most common practice to deal with this requirement. You read the relevant data through built-in function module (or user-exit) and put the value in temporarily field. Then, in the next rule you base FM derivation on that field.
Regards,
Eli