(a) (1) In a trial by court-martial in which a military judge presides and in which a punitive discharge may be adjudged, the United States may appeal an order or ruling of the military judge which terminates the proceedings with respect to a charge or specifications or which excludes evidence that is substantial proof of a fact material in the proceeding. However, the United States may not appeal an order or ruling that is, or amounts to, a finding of not guilty with respect to the charge or specification.
(2) An appeal of an order or ruling may not be taken unless the trial counsel provides the military judge with written notice of appeal from the order or ruling within 72 hours of the order or ruling. Such notice shall include a certification by the
(b) An appeal under this section shall be forwarded by means prescribed under regulations of the President directly to the Court of Military Review and shall, whenever practicable, have priority over all other proceedings before that court. In ruling on an appeal under this section, the Court of Military review may act only with respect to matters of law, notwithstanding section 866(c) of this title (article 66(c)).
(c) Any period of delay resulting from an appeal under this section shall be excluded in deciding any issue regarding denial of a speedy trial unless an appropriate authority determines that the appeal was filed solely for the purpose of delay with the knowledge that it was totally frivolous and without merit.