Linq Query To get data from json

@RK_0
If you need to extract Rule ID use regex

System.Text.RegularExpressions.Regex.Match(jsonString,"(?<=\WRuleId\W:\s\W).*(?=\W,)").ToString

And also try this

jsonObject("Rules")("RulesId").Tostring