Okay, now it uses the rules file! Next step: packaging stuff.