[COOK-4673] Less greedy regex on checking rule