Judge rules death penalty in bounds