Turkish appeals court rejects military coup case ruling