Pictures would be nice. It really depends on how widespread the rust is. For a small section just making a couple of patches may be more than enough. For a more widespread issue it might be better to replace the whole rail. With rust it’s usually a good plan to consider that there’s at least twice as much as you see.