code: def _load_rules(self):
          
          with self._sftp_connection.open(self.RULE_PATH) as file:
              data = file.read()
          lines = (
              line.strip()
              for line in data.split('\n')
          )
          rule_strings = (
              line for line in lines
              if len(line) > 0
          )
          rules = (
              Rule.parse(rule_string)
              for rule_string in rule_strings
          )
          self._rules = [
              rule
              for rule in rules
              if rule is not None
          ]
docs: Loads the rules from the SSH-Connection