Identify the index ranges that needs to be read for a query.

Bug: 145493956
Test: atest FrameworksServicesTests:RuleIndexingControllerTest
Change-Id: I0bf4dca861725683fffdb14af175ae3eb4992d74
4 files changed