Move alignment rules to settings