build rule key name changes as needed