Maintenance employee was replacing bull gear on rod mill. While transferring the old gear from the rod mill to the designated location, one of the dollies that was holding up one of the two chain hoists being used came off of beam causing the gear to slightly shift positions and come in contact with employees right leg.