changed constraint rule
add constraint annotation