XPath parser cleanup.  Don't do rewrite-compare if one of the arguments is numeric.
Change some log info to log debug