dustinrue/ControlPlane — pull request #217 by VladimirTechMan (2013-02-16 11:41:16+00:00)
Title: Small optimization of rule matching loop

When looping though all the evidence sources, for a given rule, first check if the type of rule matches -- if it doesn't, then don't bother with the extra actions to get the value of "enabled". Also have the rule type string "preset" before doing the loop.