Appeals court rules in favor on the abortion