Add term rewrite hook to collection