JSON Rules-based validator