create canonical constraints to improve comparisons
Merge pull request #1308 from spechub/1296-create_comparable_constraints

create canonical constraints to improve comparisons