I am upgrading my current project to Webpack2, which it was using Webpack1 prior. I have looked into a couple tutorials about upgrading and in
module.rules is meant for loaders. Specifying a rule as loader is just a shortcut for
use: [{loader}]
For plugins, use the plugins property in your configuration.