Add cache rules