Should be relatively easy. You'll need to do some decision making before you start, because you have a couple different options..
Since you have a GCX, I would assume you're going to use the 8 instant access (IA) switches for each loop ??? If so, then you're stuck to using preset changes to switch channels on your M4 & RT. The good thing about using preset changes is you will NOT have to add the M4 or RT as a 'Device' in the GCP, which simplifies things quite a bit.
If you're not going to use your IA switches to switch on/off your GCX loops, then you can set up the IA switches to control your M4 & RT channels, however, you actually need 10 IA switches, but you only have 8 on the GCP. No big deal, especially since most guys aren't using all 8 channels of their M4's anyway.
To set up the IA switches to control the M4 & RT can be frustrating..
First thing I will recommend is to look in your RT2/50 manual, or figure out by experiment what midi channel the RT2/50 is by default.. That is, unless you bought it 2nd hand or have already changed the internal switches to another channel..?? If you believe it's on the default, then leave it alone, because it's much easier to change the M4 midi channel, as it has external switches. If your RT is ch16, when make your M4 ch15, or whatever numbers you like, but they WILL need to be different channels.
Then, in your GCP, you'll need to add the M4 as a 'Device' on ch15, and then add the RT as a 'Device' on ch16. You'll then have to decide your layout, as in which switches will do what, and then program the CC commands of those switches to control whichever devices they're going to control. Let's say switches 1 thru 6 control 6 channels of your M4, switch 7 is 6L6's, switch 8 is EL34's. This is where most guys probably say 'To hell with this, I'll just use preset changes', as it's much easier, but less functional.
Also, before anyone recommends it, you CANNOT use one switch to switch back & forth between 6L6 & EL34's.. The midi in the RT does not allow it, for some really stupid reason. The only way you can use one switch is to cycle through all 3 modes.. ch1(6L6), ch2(EL34), and mute. Yep, I agree, really stupid, but that's the way it is.
If you can spare one IA switch, the mute of the RT is nice to have, especially if you don't use a pedal tuner mute. If you're finding 8 IA switches is not enough, and you're not using your GCP's expression pedal jacks for external expression pedals, I can mod your GCP and add your two more IA switches. The most common being one switch for tap tempo, and the other for mute. Here's some pics of the mod..
http://www.alanproaudio.com/guitar/images/gcpmod