Motion to dismiss or for appropriate relief substituted for demurrer or dilatory plea or motion to quash, Rule 12.