addRule method

int addRule(
String selector,
String style,
[int index]
)