Renamned SimpleRules to Rules and also its unit test