Implement the `Rule` class

The Rule class is the basis of the rule-lib module. The first basic step is to parse a file that has input and output variables and a defined function.