public function addAccessControlRules($publicKey, $rules) {
        $this->validatePublicKeyName($publicKey);

        return $this->getCommand('AddAccessControlRules', array(
            'publicKey' => $publicKey,
            'rules' => json_encode($rules),
        ))->execute();
    }