
Originally Posted by
Ouch!
There's a difference between putting your world inside a box and setting down some ground rules. Rowling's only rule was that magic can't bring people back to life. Otherwise, there were very few specifications to its limitations. That aside, the rules for a given system of magic never have to be made clear to the reader. In the end, I just think that explaining away the ending with a vague, "Nobody could have known!" is one of the worst cop-outs ever.
That aside, there are other (and arguably better) ways to be unpredictable without resorting to such an unsatisfying technique as a deus ex machina.