Renames attributes in grammar to match HTML