A month is not long enough to start back on the bench press, imo. Ribs are easy to aggravate. I would take it easy for now and not do bench at all, until the pain is gone completely. Do some light cardio, like bike, instead. With ribs damaged, I wouldn't do any big leg exercises either, because you must use your core when doing a squat, for example... I hope this helps.