Rules can't require() because they may not be run in a Node environment. In the browser, this wouldn't work.