started actual rule parsing
implemented rule building, but haven't filled the gaps in rules yet