@alsavi1984 , Yes, you can configure a single IP address or IP's separated with commas. Incase of adding address range you can select IP group option. An IP Group can have a single IP address, multiple IP addresses, or one or more IP address ranges.
The following IPv4 address format examples are valid to use in IP Groups:
Single address: 10.0.0.0
CIDR notation: 10.1.0.0/32
Address range: 10.2.0.0-10.2.0.31
Note: IP Groups are not currently available in Azure national cloud environments.
The same goes with destination address field as you have option to select IP group.
----------
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.