Implement generation of policy enforcement table

 * Refactor policy resolver semantics to provide the right APIs
 * Keep track of condition groups
 * Create rudimentary framework for generating rules from classifiers.

Change-Id: I044a3268bcd15aa0bc2ea072a73e7d74c72da5ad
Signed-off-by: Rob Adams <readams@readams.net>