Judge limits Ryan's remarks on death penalty