refactor and fix merging of rna attributes using deep_merge
change dsl pre_rule and post_rule to before and after
0.4.0 fix deep merge and change rules dsl to before and after