Converted logging statements to use .format(). Changed tests and rules regarding gaiji elements.