Massachusetts Superior Court Rule 54:
Experts in Criminal Cases
The court will not allow compensation for the services of an expert or expert witness for the defense in a criminal case unless an order of the court or a justice, naming such expert or expert witness and authorizing his employment, was made before he was employed. Such order shall not be made without notice to the district attorney in charge of the case, and an opportunity to be heard.
(Applicable to criminal cases)