when i did it:
put nuts and bolts into the tank with degreaser, diluted with some distilled water. shook it around, let it sit for 15-30.
flush it out, til the water isn't soapy.
add 1l of "3m rust dissolver" - phosphoric acid. add about the same of distilled water. shake it around. let it sit for 10 minutes, then shake it and turn it to lie on another side. i let it sit on 3 sides.
flush it, put a bit of baking soda with more water into the tank, swoosh it around and let it sit 5 minutes.
20ml of 2t oil + 2l of fuel. - shake it around, let it sit for a while, swirling occasionally.
pour as much as possible out, and try to get the nuts and bolts out. fail miserably. ponder buying a magnet on a stick. haha.
put another litre or so in and really make sure it runs clean and clear.
fill the tank as full as possible.
run it through an inline filter and voila.
that's it - noticably cleaner on the inside, no mud/sludge/oil/whatever in the fuel.
i wanted to use evaporust because it's "green" and you can let it sit for extended periods, but i couldnt find it so i used whatever was handy.