setting up condition under which to use old rewrite rule retrieval or skip it