add operator to stateevaluator in json api

Fixes #57
Merge pull request #64 from mzanetti/fix-ruledetails-2

add operator to stateevaluator in json api