CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type

https://issues.civicrm.org/jira/browse/CRM-14505
Merge pull request #3605 from monishdeb/CRM-14505

CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type