ja rule set to leave ny prison in gun case