Added index for insertRule