Is it just the lip, or is the rust througout the well?
If it just the lip, take a grinder and grind off the body rot. If you know a thing about welding, you can weld a new piece of sheetmetal and form a new lip, then repaint. Other than that, I'd say it's not worth the work. Just grind it smooth and paint over it.