add another spec for rules.js