add rules iamge