[rules-dev] exploring functional programming