Analyze with active rule set configurations only

When analyzing a file within a project, only use the rule set
configurations that are activated for that project.
Cache the active rule sets during a build

Read the active rule set configurations only once per full or
incremental build.