Keep rules for patching and rendering here.