Yes, the Firewall rules on the MX are for traffic that is sent through the firewall to the outside or to other VLANs. It doesn't affect traffic to or from the MX.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.