(1) The Court or a judge may order to be struck out or amended in any endorsement or pleading any matter that (a) may be unnecessary or scandalous; or(b) may tend to prejudice or delay the fair trial of the proceeding.(2) If the document which contains the matter to be struck out or amended is filed, the Court or a judge may order that the document be removed from the file.(3) If an order is made under subrule (1) , the Court or judge may order the costs of the application to be paid as between solicitor and client.