rule engine module for domojs