Error transferring settings

Hi, need help migrating settings from a 24 port mikrotik to a 10 port mikrotik with all settings of the old one intact. The result is this script:

/interface bridge
add name=bridge-LAN
/interface ethernet
set [ find default-name=ether10 ] name=ether10-WAN
/interface gre
add allow-fast-path=no ipsec-secret=sfhnuvs23 local-address=193.110.19.17 \
    name=GRE->HNUVS remote-address=195.140.226.70
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool1 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server
add address-pool=pool1 disabled=no interface=bridge-LAN name=server1-LAN
/routing ospf instance
set [ find default=yes ] router-id=192.168.88.1
/interface bridge port
add bridge=bridge-LAN interface=ether1
add bridge=bridge-LAN interface=ether2
add bridge=bridge-LAN interface=ether3
add bridge=bridge-LAN interface=ether4
add bridge=bridge-LAN interface=ether5
add bridge=bridge-LAN interface=ether6
add bridge=bridge-LAN interface=ether7
add bridge=bridge-LAN interface=ether8
add bridge=bridge-LAN interface=ether9
add bridge=bridge-LAN interface=ether10
/ip address
add address=192.168.88.1/24 interface=bridge-LAN network=192.168.88.0
add address=192.168.10.138/30 interface=GRE->HNUVS network=192.168.10.136
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether10-WAN
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=192.168.88.1,8.8.8.8 gateway=\
    192.168.88.1
/ip firewall address-list
add address=195.182.202.50 list=mgm
add address=195.182.202.0/23 list=mgm
add address=212.1.122.0/23 list=mgm
/ip firewall filter
add action=drop chain=forward connection-state=invalid disabled=yes
add action=accept chain=input comment="\"accept establish & related\"" \
    connection-state=established,related
add action=accept chain=forward connection-state=established
add action=accept chain=forward connection-state=related
add action=accept chain=input protocol=gre
add action=accept chain=input protocol=ospf
add action=accept chain=forward in-interface=!ether10-WAN out-interface=\
    ether10-WAN
add action=drop chain=forward disabled=yes
add action=accept chain=input in-interface=GRE->HNUVS protocol=icmp
add action=accept chain=input dst-port=22,8080 protocol=tcp src-address=\
    195.140.226.70
add action=accept chain=input dst-port=22,8080 in-interface=ether10-WAN \
    protocol=tcp src-address=195.140.226.73
add action=accept chain=input dst-port=22,8080 in-interface=ether10-WAN \
    protocol=tcp src-address=195.140.226.74
add action=accept chain=input in-interface=ether10-WAN src-address-list=mgm
add action=accept chain=input in-interface=!ether10-WAN src-address=\
    192.168.88.0/24
add action=accept chain=input in-interface=ether10-WAN src-address=\
    193.110.16.8
add action=accept chain=input in-interface=ether10-WAN src-address=\
    195.182.202.50
add action=drop chain=input
add action=drop chain=output dst-port=25 protocol=tcp
add action=drop chain=output dst-port=25 protocol=udp
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether10-WAN
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www port=8080
set api disabled=yes
set winbox address=195.140.226.74/32,212.1.122.0/23
set api-ssl disabled=yes
/routing ospf network
add area=backbone network=192.168.10.136/30
add area=backbone network=192.168.88.0/10
/system clock
set time-zone-name=Europe/Kiev
/tool graphing
set store-every=hour
/tool graphing interface
add interface=ether10-WAN
/tool graphing resource
add

But after importing it gives the error “in/out interface matcher not possible when interface (ether1) is slave - use master instead bridge”

Is the config on 10-port device really empty before starting to import?

You can try to import the script manually, section by section, and see where it fails.