Added "error or null" callbacks rule