Add option to specify an external rules file
Update TODO