fix bug in rule_input.js
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant