The EP was roof bolting when a broken fitting was discovered on the outside of the roof bolter. EP stopped bolting and walked around the back side of the machine and walked up the side and found the fitting that was broken. EP turned around and started back when a rock fell from the top where the roof meets the coal and hit EP in the right ankle.