add caching for single req to _get_last_rule