Documentation improvements. Added docs for rule and Scheme files