Add rules, filters and labels in model