Updated the style for precedence and addded following restrictions.