Here is a patch for being able to rename constraints of domains. Itgoes on top of the previously committed patch for renaming tableconstraints.