With RME you get VERY stable drivers and low latency (I have not had a single problem with my RME in over a year). It also has Totalmix, which easily lets you route everything everywhere. And it has DSP reverb and compressor, which allows you to hear reverb or compression when tracking (it will not record those effects). The UFX has 4 preamps, and a lot of extra ins (analog, spdif and ADAT).
The UA Apollo (IIRC) has two preamps, and less inputs / outputs, but you will have access to unison preamps, which can emulate other preamps (most of them will have to be bought). I have an UAD pcie card (and a UA LA 610mkII), so I can vouch for the quality from UA.
It all comes down to what you need (input / output vise), want and can afford

I think you will be very happy either way, but I personally would recommend RME. Mostly because I have used it for a while, and would never change something that has been that stable, and sounds that good.
Other may feel different about my statement.
Best of luck.