He probably just was actually hungry and mistook your hand for the rat. I wouldn't worry.