Introduce a helper class to determine the indexing type of a given rule.

Bug: 145488708
Test: atest FrameworksServicesTests:RuleIndexIdentifierTest
Change-Id: I9f9ed107a7f4a79939ea40dd4217e0a73598e467
2 files changed