Allow rule to parse a file on startup, move record out so that
tests can use it in future.
Better tests, ensure that tests dont overlap, (see fancy new teardown function).
Remove uncessary io:formats.