add memorization for default logprefix rules