Consolidate rules for installing internal and external modules. -- Brian Gerst