public void add(Constant constant) {
        constants.put(constant.name(), constant);
    }
Returns a snapshot of the rank settings of this and everything it inherits.
Changes to the returned set will not be reflected in this rank profile.
config-model/src/main/java/com/yahoo/schema/RankProfile.java