fix deploy rule