Implement translation for advisor rules