Install the input policy
Set the blackhole flag on routes carrying 65535:666, then reject every other route from this session.
/routing/filter/rule
add chain=cereal2-bgp-in rule="if (bgp-communities includes 65535:666) { set blackhole yes; accept; }"
add chain=cereal2-bgp-in rule="reject;"