Suppressing all but a set of commands - is it possible?

Earlier discussion of this: https://intfiction.org/t/how-to-discard-most-default-actions-and-rules/3286/1