Employee was replacing the longwall headgate drive winch. As EE was removing bolts from the winch, a piece of coal/rock fell out from between the roof channel straps and struck the back of EE's leg forcing EE against the headgate drive. EE has pain and swelling in the right knee and ankle. No rules or regulations were violated.