The rules for successful social-media marketing are not complex but you have to earn them before they work for your company.