Fix opening rules