Rule 908. Dismissal, discontinuance or compromise. A class action shall not be dismissed, discontinued, or compromised without the approval of the court. Notice of the proposed dismissal, discontinuance, or compromise shall be given to all members of the class in such manner as the court directs.