update and add data into rule.json
simple sinatra app showing all the data