ActiveRules implemented using the Sails Node.js framework