TRIAL OF POINT OF LAW
1. Any party shall be entitled to raise by his pleading any point of law, and any point so raised shall be disposed of by the Judge who tries the cause at or after the trial, provided that by consent of the parties, or by order of the court on the application of either party, the same may be set down for hearing and disposed of at any time before the trial.
2. If, in the opinion of the court, the decision of such point of law substantially disposes of the whole action, or of any distinct cause of action, ground of defence, set-off, counterclaim, or reply therein, the court may thereupon dismiss the action or make such other order therein as may be just.