The octet rule is a generic rule that doesn't apply for all molecules out there. You're seeing it right. The chlorate ion has a -1 charge. When it combines with something like a proton (H+) it becomes neutral and then satisfies the full octet rule.
Polyatomic ions have a charge that needs to be...