Converts CSS to editable tree