The defenses and relief enumerated in Rules 12.02 and 12.03, whether made in a pleading or by motion, shall be heard and determined before trial on application of any party unless the court orders that the hearing and determination thereof be deferred until the trial.
Ky. R. Civ. P. 12.04