CodeRule and CodeFragmentRules are functions now to refer to them more
easily