We could start an utilitarian argument and conclude that killing the rat is "better" but by being sapient the rat is on the same level as us and have the same rights as us.
Killing him, or in this case, torturing him when he hasn't done anything wrong is unethical.