Added rules based mapping for DM maps