Update rules for building (more streamlining).