adapted design rules and fixed some design rule check issues