Update and rename README.rdoc to README.md

Add example and rules.