code: function(oRules) {
  				var index = 0,
  					innerIndex = 0,
  					treeTableModel = {},
  					rulesViewModel,
  					rule,
  					rules = [];
  
  				rulesViewModel = this.getRulesViewModel(oRules, [], []);
  				for (var libraryName in rulesViewModel) {
  					treeTableModel[index] = {
  						name: libraryName,
  						id: libraryName + " " + index,
  						selected: true,
  						type: "lib",
  						nodes: rules
  					};
  
  					for (var ruleName in rulesViewModel[libraryName]) {
  						rule = rulesViewModel[libraryName][ruleName];
  						rules.push({
  							name: rule.title,
  							description: rule.description,
  							id: rule.id,
  							audiences: rule.audiences.toString(),
  							categories: rule.categories.toString(),
  							minversion: rule.minversion,
  							resolution: rule.resolution,
  							title:  rule.title,
  							libName: libraryName,
  							selected: true
  						});
  						innerIndex++;
  					}
  					rules = [];
  					index++;
  				}
  				return treeTableModel;
  			}
docs: Gets rules and converts them into treeTable format.
  @public
  @method
  @name sap.ui.support.IssueManager.getTreeTableViewModel
  @param {object} oRules Deserialized rules found within the current state
  @returns {object} TreeTableModel Rules in treeTable usable format
  The rules are in a TreeTable format.