json rules corrected