Keep in ons the order will be first match.
So if the traffic of the two devices you are trying to block fits an allow rule above the block, the traffic will be allowed.
In general, specific block rules should be almost on the top of the list.
Also bear with the suggestion to order by chain.