rename test.js to src/rules.js, remove test2.js