I'm not sure what age the dog is, but someone else said it was around 1. If this is correct, then what transpired is more than likely the dog testing you. Especially since she was "left" at a kennel recently and may of seen other dogs acting this way. She is going to "test the water" with you. This is normal canine behavior and if handled properly (and it sounds like it was) then it is a fleeting moment in the dogs history.

From what you wrote, it sounds like you have made it clear to Heidi that you are the Alpha in the family and I believe you handled this one situation in a ok manner by letting her know it was not appropriate behavior. I would of only gone one step further and put the rawhide away for the night completely. She could have it again tomorrow if her behavior is appropriate. If by some chance this is a consistant behavior and it is only with rawhide, then she wouldn't be getting any rawhide from me at all.

However, don't make too much out of this one episode. I would worry only if this behavior becomes consistant but that doesn't sound like the case to me here. Don't stop petting her. She is your pet and you deserve to pet her when you want. It will only make the bond between the two of you stronger. Just keep letting her know appropriate behavior and inappropriate behavior as it sounds like you have been doing.

BTW.... speaking of bonding, the best way to develope the respect between you and your dog is through obedience training. If you did puppy kindergarten thats great but don't stop there as many other pet owners do. Working as a team in learning proper behavior developes a bond that a lot of people miss out on with their dogs because they don't pursue it far enough. I believe a trained dog is a loved dog and a very welcome part of a community!