Easiest thing to do would probably be some way to translate the 1-based rack state selection into a 0-based banked patch selection trigger. Then at least all you would have to do would be type in the state names.
As far as I know there is no way to use an expression in anything but a sysex event.