[build] check duplicate names in rules file