Implementing cancel rules