feature for conditions and consequences as string in input rules json

Hi Mithun,

I have added eval function to convert the string to function. 

Please review the changes.