Employee was removing rail from old # 18 panel. One rail hooked, had scoop operator turn scoop bucket in order to hook other rail. Bucket hit rib, caused material to fall onto employee's right leg. Taken to PMC ER for treatment X-Ray positive. Was no indication of bad rib.