766. At the time of presentation of a motion, the court, after examining the questions of law and fact at issue, may(1) rule on the means to simplify the procedure and shorten the hearing, including the advisability of amending the written proceedings, of admitting some fact or document and of providing the list of authorities the parties intend to submit;
(2) order, if it deems it appropriate, the contestation of the application in writing on the conditions it determines;
(3) fix, where applicable, the communication procedure and the time limit for communication of the detailed affidavits and the exhibits the parties intend to file;
(4) order that the motion be served on any person it designates and whose interests may be affected by the judgment;
(5) make all orders necessary to protect the rights of the parties for the time and on the conditions it determines;
(6) fix the date of the hearing for the same day or, if not, order that the motion be entered on the general roll of motions.