Update Parser.php

Added ParserRulesInterface