Rules fixed
A bit of refactoring and bin\obj deleted