Update AnnotationsBag.php

moving from trait to a ParserRulesInterface