removing unused Rule and Router classes