New rules take effect to protect against mortgage scams