Here’s the relevant rule (
https://developer.apple.com/app-store/review/guidelines/#2.5...):
> Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. Educational apps designed to teach, develop, or allow students to test executable code may, in limited circumstances, download code provided that such code is not used for other purposes. Such apps must make the source code provided by the Application completely viewable and editable by the user.
I’d say the post you were replying to uses the wrong word (“interpreted”, I usually say it can't run "arbitrary" code), but the rule is more specific than your description as well.