Adding image caching rule