Federal appeals court rules he is not an enemy combatant. Orders him released in 30 days.