add cache rules