public JsonRuleContainer(JsonSerializer serializer, string fileLocation, IFileLoader fileLoader)
        {
            var content = fileLoader.ReadAsString(fileLocation);
            
            var result = JsonConvert.DeserializeObject<JObject>(content);

            var descriptionRules = result["PointRules"]["DescriptionRules"].Select(t => t.ToObject<DescriptionRule>(serializer)).ToList();

            PointRules = new List<PointRule>(descriptionRules);

            SeriesRules = new List<SeriesRule>();
        }