Remove reference to deprecated nodeValue property.

Fixes #3
Fix rules parse error detection.

It seems 'instanceof Array' was no longer behaving as expected.  Just
catch the special exception in the one place that wants it instead.

Fixes #1
Fixes #2
version bump