Hello @Badr HOUSSNI ,
You can add ranges of IP addresses in classless inter-domain routing (CIDR) block notation (192.168.1.20/28, for example which will contain the IP range of 192.168.1.16 - 192.168.1.31) but not like you have mentioned in the screenshot. You can also use a comma-separated list of IP addresses.
Please refer : https://learn.microsoft.com/en-us/azure/virtual-network/security-overview#security-rules
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.