"Refuse to torture prisoners for information" isn't good, it's neutral. Good doesn't just mean "not actively being evil".
(Also, it's rational, as it's been very thoroughly established that torturing prisoners for information is basically worse-than-nothing in terms of getting remotely reliable...