With really complex polyrhythmic patterns, it is much easier to "squish" the notes together, as Derek mentioned. Take a fixed unit of time, 1 or 2 beats (or what ever is relevent to the piece) and try to fit all the said notes in that unit of time. I find it easier if I play really fast first to guage the amount of compression, the gradully slow it down and refine the rhythms. Sometimes really big note groupings can be broken down into prime numbers. Eg: 5 can become 2 + 3 or 3 + 2, etc. Don't worry if really long runs are asymetrical or lopsided with more notes being squished in one beat than another, feel free to use rubato and be musical. Eg: Op 27/2 - the 48 note run; the "Cello" Etude.
As you know, in a lot of Chopin's pieces he uses runs which contain weird time values, like triplets, 5 notes in the time of 4, 7 notes in the time of 6 etc. Often the runs contain a mixture of all of these. I have trouble working out how these runs are actually supposed to sound, and how it's played in relation to the bass. Does anyone have any advice and tips on how to count these runs, and get notes in the melody to be in time with the notes in the bass?