write more tests for the rules engine.
decouple jsonrpc versioning from application versioning