You want to apply the ice for 20 minutes and be sure and keep a piece of cloth between the ice and the skin to prevent frostbite. Pulled muscles require rest. That doesn't necessarily mean you have to stop skating. That will only reinjure the muscle. After the first 48 hours, you can begin alternating ice with heat for the pulled muscle.
Gentle massage can also help.
Always massage toward the heart. It is not unusual to find skaters with AOSS back on the ice the day after a major injury, including a broken bone. While skating with your arm in a cast is not recommended, if you have AOSS you're going to do it anyway. So, suggestions are to get a light cast, made of fiberglass and available in a wide variety of bright colors. If you are skating after injuring a joint such as the knee or ankle, neoprene braces not only provide support for the injured joint, they also provide warmth allowing the muscles to function optimally.