add max ranks validation for skills