class Sass::CSS

def rules(root)

def rules(root)
  rules = []
  while @template.scan(/[^\{\s]+/)
    rules << @template[0]
    whitespace
    if @template.scan(/\{/)
      result = Tree::RuleNode.new(rules.join(' '), nil)
      root << result
      rules = []
      whitespace
      attributes(result)
    end
  end
end