Whether you believe in an intelligent designer or not, the snake is designed to asphyxiate the rat…in nature that's what it would do. If you don't like it, argue with Richard Dawkins or with the God of your choice, depending on what you believe in.