Small optimization of rule matching loop
Fix mem leak when matching Current Location rules
Merge pull request #217 from VladimirTechMan/improve_rule_matching_loop

Small optimization of rule matching loop
Merge pull request #218 from VladimirTechMan/fix_memleak_in_corelocation

Fix mem leak in matching Current Location rules
Merge branch 'fix_memleak_in_corelocation'
Merge remote-tracking branch 'upstream/master'