A defendant shall not be discharged nor shall a case be dismissed because of a defect in the form or content of a complaint, citation, summons, or warrant, or a defect in the procedures of these rules, unless the defendant raises the defect before the conclusion of the trial in a summary case or before the conclusion of the preliminary hearing in a court case, and the defect is prejudicial to the rights of the defendant.
234 Pa. Code r. 109