Adding basic and compound constraint creation