Updated README.md to contain input and output rules.