add cache rule