Wow. I would freak if I found myself in a pit with rats!! When I ride alone I normally take my cell phone and a knife with me. If I'm riding in an area close to houses I may also take pepper spray.
I let someone know where I am going, and they will call me periodically to be sure I am still ok if I'm out for very long. I also try to make sure my horse is as solid as possible, but I have found my old horse was more solid alone than when we had company. I hope that I never get in a really bad situation out there, but if it happens it happens. I will just be as prepared as I can.