To fix the error change line 143 to:
httpObj.setRequestHeader "X-VPS-CLIENT-TIMEOUT", "30"
I'm looking at my copy of that file and it is correctly coded. I cant see why yours would be missing the quotation mark.
Your rules look to be correct, though the second one is not really needed.