Effects of Co doping on antiferromagnetic structure in CeRhIn5