Your charges were most likely related to the mandatory insurance. This is laid out in the terms and condition when you first booked the rental. This is extremely common in Costa Rica, and is definitely not limited to Hertz. Most, if not all of the companies charge for mandatory liability insurance in Costa Rica. Google around and you will see.