added functions toJSON and fromJSON to enhance the protability of the conditions and consequences. Fixes #17.
added functions toJSON and fromJSON to enhance the protability of the conditions and consequences. Fixes #17.

jeansebbaklouti/node-rules,periloso/node-rules,frauss/node-rules,zhhb/node-rules,AvaNight/node-rules,mithunsatheesh/node-rules,ergh99/node-rules,ffarzat/node-rules