Rules of Civil Procedure: 12(B)


(B) How presented. Every defense, in law or fact, to a claim for relief in any pleading, whether a claim, counterclaim, cross-claim, or third-party claim, shall be asserted in the responsive pleading thereto if one is required, except that the following defenses may at the option of the pleader be made by motion: (1) lack of jurisdiction over the subject matter, (2) lack of jurisdiction over the person, (3) improper venue, (4) insufficiency of process, (5) insufficiency of service of process, (6) failure to state a claim upon which relief can be granted, (7) failure to join a party under Rule 19 or Rule 19.1. A motion making any of these defenses shall be made before pleading if a further pleading is permitted. No defense or objection is waived by being joined with one or more other defenses or objections in a responsive pleading or motion. If a pleading sets forth a claim for relief to which the adverse party is not required to serve a responsive pleading, he may assert at the trial any defense in law or fact to that claim for relief. When a motion to dismiss for failure to state a claim upon which relief can be granted presents matters outside the pleading and such matters are not excluded by the court, the motion shall be treated as a motion for summary judgment and disposed of as provided in Rule 56. Provided however, that the court shall consider only such matters outside the pleadings as are specifically enumerated in Rule 56. All parties shall be given reasonable opportunity to present all materials made pertinent to such a motion by Rule 56.