change rules for haml use