Gearset follows the Salesforce metadata API documentation to retrieve metadata items. In the case of Matching Rule metadata type the documentation specify the following manifest file to retrieve the matching rules:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account.AccountMatchingRule</members>
<name>MatchingRule</name>
</types>
<version>47.0</version>
</Package>
Yet this manifest file, which uses the fileName, fails to retrieve this matching rule:
Note that this matching rule has
- fullName = - Account.Standard_Account_Match_Rule_v1_0
- fileName = - Account.AccountMatchingRule
If we try to retrieve with the manifest, which uses the fullName, to retrieve, the API does return the metadata:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account.Standard_Account_Match_Rule_v1_0</members>
<name>MatchingRule</name>
</types>
<version>47.0</version>
</Package>
 
However, this is not what Salesforce documentation says we should be using. 
Therefore, we are asking that users facing this issue
- to replicate and confirm this issue via Workbench 
- to report this to Salesforce support to clarify what the documentation should say 
Gearset would like to follow the documentation to implement a long term solution, so a clarification would be really helpful.
