(a) Error of law.--A finding or sentence of a court-martial shall not be held incorrect on the grounds of an error of law unless the error materially prejudices the substantial rights of the accused.
(b) Approval of lesser offense.--Any reviewing authority with the power to approve or affirm a finding of guilty may approve or affirm so much of the finding as includes a lesser included offense.