Add rules and sample maps