Snort has several actions which can be used:
- alert generate an alert using the selected alert method, and then log the packet
- log log the packet
- pass ignore the packet
- activate alert and then turn on another dynamic rule
- dynamic remain idle until activated by an activate rule , then act as a log rule
- drop block and log the packet
- reject block the packet, log it, and then send a TCP reset if the protocol is TCP or an ICMP port unreachable message if the protocol is UDP.
- sdrop block the packet but do not log it.
These can be found on the documentation page Snort Rule Headers
In your situation you want either drop, reject or sdrop, depending on whether you want to send a reset, and either log or not.
The reason your current one will not block is that alert will just log the packet.