Added rules and styles.