updated match rule for id and class slectors
added function-content