Prevent violation of contained-in rules