What happens next be the way is now quite complex and expensive and for a while (until she gets the Claim right) she will effectively be paying both parties costs:
1) The determination of who pays what costs of the Application just lost; and the judgment makes it clear she's on the hook for some of them - expressly mentioning "wasted costs". Ouch!
2) If the parties cant agree what costs Megs will have to pay there will be a further hearing at which they will be "assessed" if she loses that (by not making an offer that matches what the judge assesses before the hearing, bit like betting) she will also have to pay the costs of that hearing assessed on the spot. Ouch! Ouch!
3) It gets worse. Megsy mob of, no doubt now very frightened, "legal budgies" will have to decide if they can carry on with the butchered Claim and have any hope of winning; or if they will need as the Judge suggests to amend the Claim (very expensive and none of this comes free). In order to amend the claim they will, very probably, need to pay the Defendants costs of meeting the amended parts of the claim. Ouch! Ouch! Ouch!
4) Then its discovery and witness statments and trial.
5) If I were Megsy I'd get a second Opinion then bail out and sue the lawyers (or threaten to in order to negotiate liability for the costs wasted) before it gets completely out of hand. Problem is the only way out is to "Discontinue" and when you file a Notice of Discontinuance you have to pick up ALL the other sides costs, as if you've lost. Ouchtiddly Ouch! Ouch!
The Divine Creator if such exists gave us litigation as a tool to punish bad and stupid people by making them litigants.