code: function(content) {
  			content = this.sanitize(content);
  			var stream = stringStream(content);
  			var ranges = [], matchedRanges;
  			var self = this;
  
  			var saveRule = function(r) {
  				var selRange = self.extractSelector(content, r.start);
  				var rule = range.create2(selRange.start, r.end);
  				rule._selectorEnd = selRange.end;
  				rule._contentStart = r.start;
  				ranges.push(rule);
  			};
  
  			var ch;
  			while (ch = stream.next()) {
  				if (isQuote(ch)) {
  					if (!stream.skipString(ch)) {
  						break; // unterminated string
  					}
  
  					continue;
  				}
  
  				if (ch == '{') {
  					matchedRanges = this.matchBracesRanges(content, stream.pos - 1);
  					matchedRanges.forEach(saveRule);
  
  					if (matchedRanges.length) {
  						stream.pos = utils.last(matchedRanges).end;
  						continue;
  					} 
  				}
  			}
  			
  			return ranges.sort(function(a, b) {
  				return a.start - b.start;
  			});
  		}
docs: Finds all CSS rules‘ ranges in given CSS source
  @param  {String} content CSS source
  @return {Array} Array of ranges