[DIGESTER-72] Allow SetNextRule to fire on begin I added an abstraction layer in order to support the same feature not only for SetNext, also for SetRoot and SetTop. xmlrules and annotations are supported as well