This class represents a rule for parsing the file
A rule consits of a regex pattern and the resulting data from a successful match.
Applies the rule to the given text
Returns a printable string, for troubleshooting
[Validate]