elementRule elements, while rules for attributes are expressed in tag element. Every elementRule must have a tag:<elementRule role="hr" label="hr"> <empty /> </elementRule> <tag name="hr" />
elementRule is the same as its role.
tag element's name attribute value must match a role attribute of an elementRule, and it can also have its own role.