Appeals court rules in favor of DM&E expansion