added more cpp rules examples