Update @ rule definitions and sample files