I accidentally bent the rib on a Beretta 390 when it was near new. It was dented down toward the barrel between two of it's posts. I used a large flat screwdriver and gently pried it upwards, alternating from one side to the other. It came back up so perfectly that you cannot see it was ever bent. I worried that the metal had stretched, as Mike said, but it hadn't. AIR, I ran a layer of black electrical tape over the barrel, but under the rib, just to keep from marring the bluing with the screwdriver. Worked perfectly, with absolutely no sign that it had ever been bent.
SRH