For "Unmatched rules found in the configurations" . we need to get the fresh configuration from GET requesteach time before pushing(POST) any configuration.
e.g. in the tag <layer3FirewallRule disabled="false" precedence="none" id="1029"> we have id attribute that get change on every post. so here we just take latest config and add/modify configuration as per need.