(a) Consolidation. When actions involving a common question of law or fact are pending before the court, in the same county or different counties, the court may order a joint hearing or trial of any or all the matters in issue in the actions; it may order all the actions consolidated; and it may make such orders concerning proceedings therein as may tend to avoid unnecessary costs or delay. (b) Separate Trials. Subject to the provisions of Rule 38(a), the court in furtherance of convenience or to avoid prejudice or when separate trials will be conducive to expedition and economy, may order a separate trial in the county where the action is pending or in a different county of any claim, cross-claim, counterclaim, or third party claim, or of any separate issue or of any number of claims, cross-claims, counterclaims, third party claims, or issues.