Rawhide, despite it's popularity isn't very good for dogs and is more then likely the cause of the runny stools.
Feed your dog a different treat... but do it in moderation.
Even things like pig ears etc. can give them gas if you give them to much.
There are other factors here such as the sensitivity of your dogs stomach that some of these treats can really throw for a loop.
Either way, stop given the dog rawhide and you should see an improvement.