private static Plist loadIndentationRules(Map json) {
    Plist patterns = new Plist();
    Object rules = json.get("indentationRules");
    if (rules instanceof Map) {
      loadIndentationPattern(patterns, rules, INCREASE_INDENT_PATTERN, "increaseIndentPattern");
      loadIndentationPattern(patterns, rules, DECREASE_INDENT_PATTERN, "decreaseIndentPattern");
      loadIndentationPattern(patterns, rules, INDENT_NEXT_LINE_PATTERN, "indentNextLinePattern");
      loadIndentationPattern(patterns, rules, UNINDENTED_LINE_PATTERN, "unIndentedLinePattern");
    }
    return patterns;
  }
private static Plist loadIndentationRules(Map json)