Looks for cycles in style definitions
There should be no cycles in style definitions as this can lead to runtime exceptions.