Added rule.py
moved decorator to setter / getter methods
add transactions example to README.md
minor fixes