Dynamic Adaptation of Recurrent Neural Network Architectures Guided by Symbolic Knowledge