getRules(config) {
		return [
			...(config.module.loaders || []),
			...(config.module.rules || []),
		].map((rule, index) => ({ index, rule }));
	}
Returns wrapper around all rules from config.

@type {Helpers['getRules']}

@memberof WebpackConfigHelpers