Rule: no-restricted-modules (fixes #791)

This adds the `no-restricted-modules` rule and should fix #791.