def server_rules(self):
        """
        Reads the server rules from the client
        and returns it.
        """
        sftp = self.client.open_sftp()
        try:
            rule_path = self.rule_location
            try:
                stat_entry = sftp.stat(rule_path)
                if stat.S_ISDIR(stat_entry.st_mode):
                    sftp.rmdir(rule_path)
                    return []
            except IOError:
                return []
            with sftp.open(rule_path, 'r') as file_handle:
                data = file_handle.read()
            return self._parse(data)
        finally:
            sftp.close()
Reads the server rules from the client
        and returns it.