4. Notice of a motion to be made in an action may be served by the plaintiff on the defendant with the writ of summons or originating summons or at any time after service of such writ or summons, whether or not the defendant has entered an appearance in the action.