David said: ask for a better description of the pain, I suspect it would fall into the sharp, stabbing, tearing category. Herbs like SJW, Sweet Melilot, Ligusticum, would be indicated, but if the rib is pushing on a nerve, I have doubts that anything will really be effective at relieving the pain, since there is direct pressure on the nerve.
Some types of pain will not really respond to any herb, supplement or pharmaceutical. This is where you look at things like nerve blocks, and other mechanical surgical options.