A maintenance technician was performing work on an UG haul truck in the maintenance shop (located on surface). The mechanic needed to remove a rock that had fallen onto the top deck of the truck. While removing the rock, the rock slid out of their hand, causing a laceration to right thumb. The operator was wearing nitrile gloves.