The lo0-filter script creates a lo0 filter based on configured protocols. This commit script applies a filter to lo0 to protect the routing engine from external assault. It looks at configuration to know what (and how) to accept [system services] and [protocols bgp group neighbor]. It also uses apply-macro to extend syntax where required.
Read the document lo0-filter