Updated StyleSheet to support selector style in <style> and much more powerful functionality.