bug fix - if zero was a value in the domain, results were messed up
optimization - ingore empty rules
Merge pull request #1 from uvgroovy/master

bug fix