Attach library rules to a program and change them. Every change takes effect from the program's next period.