Correction rule.js syntax error

Syntax error line 61