Hi Folks,
Please find few reference on,
Applying a Firewall Filter to a Port on a Switch
Applying a Firewall Filter to a Management Interface on a Switch
Applying a Firewall Filter to a VLAN on a Network
Applying a Firewall Filter to a Layer 3 (Routed) Interface
Also some references,
https://www.juniper.net/documentation/en_US/junos16.1/topics/reference/general/firewall-filter-ex-series-match-conditions-support.html
https://www.juniper.net/documentation/en_US/junos13.3/topics/concept/firewall-filter-ex-series-evaluation-understanding.html
https://www.juniper.net/techpubs/en_US/junos14.1/topics/example/firewall-filter-ex-series-configuring.html
-Python