Media, online giants unveil copyright rules