Rename rules to attributes