How are you presenting the rat to the snake? Those sound like defensive strikes like if you're sticking it right in the snakes face. The hairdryer on the head is a good trick or what I have is an extra space heater in my snake room that I'll kick on and hold their heads by for a couple seconds before offering.