add support for Fragment decorators in RMF

close #524