var flow = require('nools').flow('flow', function(flow){
flow.rule('rule', { scope:{ Math:Math } }, [Number, 'n', 'Math.floor(n*n) > 10'], function(facts){
//...
});
});
flow.getSession(Math.PI).match().then(function(){ });
Throws
Error: Invalid expression 'Math.floor(n*n) > 10'