Fix learnRuleFrequencies. Add initial version of PLN example (currently broken pending bugfix in PLN)