refactoring style rules for nav helper links