[PATCH] improve performance with many inode rules