On Weighted Configuration Logics