Every numerical integration rule on this page — and every one in the course — is the same object: a list of points where you evaluate f, and a list of numbers you multiply those values by. Change the points and the numbers, and you have changed the rule.
The nodes xk are where you look. The weights ck say how much each look counts. Neither depends on f — that is what makes a rule reusable.