move soft speed logic to rules file