Set ruleFields variable from Supervised rules instead of hardcoded list
Smarty template of Contact form included commented line
https://github.com/civicrm/civicrm-core/blob/31ca8316cbcdbfba51b9295d9598d71811b7f308/templates/CRM/Contact/Form/Contact.tpl#L267 and hardcoded list of fields.
This is a reason of unexpected behauvior because Supervised rules are not used during creating new contact with option Check for Similar Contacts [ While Typing ]
Below method returns sql column names instead of names in api naming (custom_*) - this is a problem for api contact.get in Contact.tpl