You won’t need REWIRE. You must be able to attach a midi device to your computer, that’s all! Then you will set Rebirth to listen to remote control commands on channel x. And you set your connected midibox64 to output data on channel x.
Okay, but how to start on designing a rebirth midi controller?
First of all you will need to figure out which rebirth knobs you can control via midi by looking at the rebirth midi implementation (one of the documentation pdf’s). Let’s start for example by looking at what you would need to control the first TB303. Â ;D
TB303-1 Pots/Faders : Pattern selection, Tune, Cutoff, Reso, Env.Mod, Decay, Accent, Pan, Level, Delay Amount… That’s 10 pots/faders.
TB303-1 Buttons : Waveform, Pitch Mode, Clear, 13 note buttons, down, up, accent, slide, note-on, note-off, back, step, distortion send, pcf send, compressor send, pattern on, mix on. That’s 29 buttons.
But do you need all these buttons? What do you want to control? Maybe you don’t want to program the 303’s from your midibox, in that case you can loose all the buttons related to programming and just stick to the ones needed for live performing on your box. So that’s waveform, distortion send, pcf send, compressor send, pattern on, mix on.
You must also define the number of pots/faders/buttons needed for the second 303, for the 808 and for the 909. In other words, you need to make a complete overview of the needed controls.
When you’re done with that you can start sketching/photoshopping or use front panel designer (http://www.schaeffer-apparatebau.de/English/FPD_index.htm) to make a design. Try to make the design intuitive, so will be able to know what buttons controls what without the need for labels and all… This is all creativity  ;) You could for instance make two rows of 10 pots to control the two 303’s. And under this the layout for controlling the 808/909. I would, like the program does, keep the master section to the right, put pcf controls under this, put delay controls under this etcetera. In other words, keep the basic location of controls the same as the onscreen counterparts.
When done designing, think about if you want/need to have an lcd screen, motorised faders, a midi-thru… And then we will know what hardware you’ll need. The amount of modules depends on the amount of pots/faders/buttons that you are going to need.