Replace constraint keyword with tie keyword