An employee was working on an excavator while on a catwalk. He then attempted to get off the excavator by holding onto the rail, which was unbolted from previous maintenance work. The rail came loose, and he fell from excavator, fracturing his lower left leg.