Perhaps we should look at this from another angle. Rubbing down a rusty surface with aluminium foil will give you nice mixture of particles of rust and particles of aluminium and I suspect that some of you will now think of the term "Thermite". For those who don't know, Thermite is an extremely powerful pyrophoric mixture, consisting of powdered iron oxide and powdered aluminium which used with skill, can be used to either cut or weld large sections of steel, see
https://www.youtube.com/watch?v=RXQnIgrXJd8.
Anyone trying this "rust removal technique" had best make sure there are no sources of ignition anywhere near! As iron oxide is so hard that it is used as an abrasive, and aluminium foil is more "soft as putty" ranking, this does not sound like a good rust removal strategy to me. Why not just use steel wool or stainless steel wool?
There's no 'magic electrolytic action' because there's no electrolyte!
B