(a)    Motions in General. An application to the court for an order shall be made by a motion which shall be in writing, unless made during a hearing; be signed by the party making the motion or by the party’s attorney; state with particularity the grounds therefor; and set forth the relief or order sought. The requirement of writing is fulfilled if the motion is stated in the written notice of the hearing of the motion.

(b)    Motion to Dismiss. Any party may file a motion to dismiss any petition or other pleading, setting forth the grounds on which the motion is based. If a motion to dismiss is granted where a child is being detained under an order, the child may be continued in shelter under previous order of the court upon the representation that a new or amended petition will be filed.

(c)    Motion to Sever. A motion may be made to sever 2 or more counts of a multicount petition or to sever the cases of 2 or more children alleged to be in need of services in the same petition. The court may grant motions for severance of jointly brought cases for good cause shown.