In an answer about CSS, a user said:
Internet Explorer has is said to have a limit of 4096 CSS rules per file. Reference
Thanks to the above testing script I have just confirmed this limitation (apparently 30) still exists even in Internet Explorer 9!