Update ruleset.js

Correct arguments for tree.Element()