Add pickle convert to json method
make it OO
New rule engine