Added property 'id' to policy,categories schema. fixed minor bug in generating policy config