Adding resourceType as criteria for badge rule's