Mine RR ops tech was unloading scrap in the yard off of a grapple truck from the elevated loader operators seat. While picking a piece of RR track up with the grapple, EE inadvertently swung the wrong direction. The rail hit the guard and than raised up striking the employees right arm and right knee, causing a laceration requiring stitches to employees right arm and right knee.