A child shall not be released, nor shall a case be dismissed, because of a defect in the form or content of the pleading or a defect in the procedures of these rules, unless the party raises the defect prior to the commencement of the adjudicatory hearing, and the defect is prejudicial to the rights of a party.
237 Pa. Code r. 1126