add new rule of image