fix for Ruleconstraint and ObjectCopier