rules: get rid of YUI

Didn't feel like installing Java, and since OSX (and even Windows) have a
JavaScript host natively installed, I'll just use uglifyjs.