code: def create_rule(self):
          
          return BlockRule(
              self.networkapi_url,
              self.user,
              self.password,
              self.user_ldap)
docs: Get an instance of block rule services facade.