Added grammar rules for attributes (not finished)