A handful of nuts and bolts. Shake the tank trying to clean all portions, add a little gasoline (don't forget to seal up the openings), and shake it some more. Drain the tank, dump the nuts and bolts, put a little gas in and repeat until clean fuel come out. I'd suggest one of the little fuel filters after the petcock in the rubber hose.
Then you can decide if you are going to seal it.